package com.netjava.pojo;

/**
 * Message entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private String name="toxic";
	private String phone="";
	private Integer qq=0;
	private String title="message";
	private String content="message";
	private String time="00:00:00";

	// Constructors

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	/** default constructor */
	public Message() {
	}

	/** full constructor */
	public Message(String name, String phone, Integer qq, String title,
			String content) {
		this.name = name;
		this.phone = phone;
		this.qq = qq;
		this.title = title;
		this.content = content;
	}

	// Property accessors

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getQq() {
		return this.qq;
	}

	public void setQq(Integer qq) {
		this.qq = qq;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}